package com.jlkf.pojo;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class DriverAccessory {
    private Long id;

    @NotBlank
    private String models;
    @NotBlank
    private String carType;
    @NotNull
    private Long uId;
    @NotBlank
    private String licensePlate;
    @NotNull
    private Long cityId;
    @NotBlank
    private String vehicleRand;
    @NotBlank
    private String seatNum;
    @NotNull
    private Integer isItYourName;
    @NotNull
    private Integer isThereAFault;

    private Integer mileage;
//车辆生产日期
    private Date productionDate;
    @NotNull
    private Integer serverStatus;

    private String position;

    private String posName;

    private Date upTime;
    @NotBlank
    private String color;

    private String picture;

    private Date registTime;

    private Date insuranceStart;

    private Integer insuranceMoney;

    private String remarks;

    private Integer isDefault;

    private Integer serverType;

    private Integer auditStatus;
    
    private Integer isUse;
    
    private String openServerType;//服务类型设置

    private String[] pics;
    //注册号
    private String registrationNumber;
    
    private String driverName;
    
    private String driverPhone;
    //无犯罪记录
    private String noCriminal;
    //司机对汽车执照
    private String hireCarLicense;
    //车辆检验
    private String vehicleInspection;
    //车保险
    private String insurance;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModels() {
        return models;
    }

    public void setModels(String models) {
        this.models = models == null ? null : models.trim();
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public Long getuId() {
        return uId;
    }

    public void setuId(Long uId) {
        this.uId = uId;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate == null ? null : licensePlate.trim();
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getVehicleRand() {
        return vehicleRand;
    }

    public void setVehicleRand(String vehicleRand) {
        this.vehicleRand = vehicleRand == null ? null : vehicleRand.trim();
    }

    public String getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(String seatNum) {
        this.seatNum = seatNum == null ? null : seatNum.trim();
    }

    public Integer getIsItYourName() {
        return isItYourName;
    }

    public void setIsItYourName(Integer isItYourName) {
        this.isItYourName = isItYourName;
    }

    public Integer getIsThereAFault() {
        return isThereAFault;
    }

    public void setIsThereAFault(Integer isThereAFault) {
        this.isThereAFault = isThereAFault;
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public Date getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(Date productionDate) {
        this.productionDate = productionDate;
    }

    public Integer getServerStatus() {
        return serverStatus;
    }

    public void setServerStatus(Integer serverStatus) {
        this.serverStatus = serverStatus;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public String getPosName() {
        return posName;
    }

    public void setPosName(String posName) {
        this.posName = posName == null ? null : posName.trim();
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color == null ? null : color.trim();
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public Date getRegistTime() {
        return registTime;
    }

    public void setRegistTime(Date registTime) {
        this.registTime = registTime;
    }

    public Date getInsuranceStart() {
        return insuranceStart;
    }

    public void setInsuranceStart(Date insuranceStart) {
        this.insuranceStart = insuranceStart;
    }

    public Integer getInsuranceMoney() {
        return insuranceMoney;
    }

    public void setInsuranceMoney(Integer insuranceMoney) {
        this.insuranceMoney = insuranceMoney;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getServerType() {
        return serverType;
    }

    public void setServerType(Integer serverType) {
        this.serverType = serverType;
    }

	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Integer getIsUse() {
		return isUse;
	}

	public void setIsUse(Integer isUse) {
		this.isUse = isUse;
	}

	public String getOpenServerType() {
		return openServerType;
	}

	public void setOpenServerType(String openServerType) {
		this.openServerType = openServerType;
	}

    public String[] getPics() {
        return pics;
    }

    public void setPics(String[] pics) {
        this.pics = pics;
    }

	public String getRegistrationNumber() {
		return registrationNumber;
	}

	public void setRegistrationNumber(String registrationNumber) {
		this.registrationNumber = registrationNumber;
	}

	public String getDriverName() {
		return driverName;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public String getDriverPhone() {
		return driverPhone;
	}

	public void setDriverPhone(String driverPhone) {
		this.driverPhone = driverPhone;
	}

	public String getNoCriminal() {
		return noCriminal;
	}

	public void setNoCriminal(String noCriminal) {
		this.noCriminal = noCriminal;
	}

	public String getHireCarLicense() {
		return hireCarLicense;
	}

	public void setHireCarLicense(String hireCarLicense) {
		this.hireCarLicense = hireCarLicense;
	}

	public String getVehicleInspection() {
		return vehicleInspection;
	}

	public void setVehicleInspection(String vehicleInspection) {
		this.vehicleInspection = vehicleInspection;
	}

	public String getInsurance() {
		return insurance;
	}

	public void setInsurance(String insurance) {
		this.insurance = insurance;
	}

    
}